package net.homeip.jcperera.nu.people.person;


/**
 * Gender enumeration, to use mostly from Entities which have gender (like {@link Person}).
 * 
 * @name Gender Enumeration (enum from JEE 1.5 upwards)
 * @author julio.c.perera@gmail.com
 * @application nu
 * @since 0.1.0.0@
 */
public enum Gender 
{
    MALE, FEMALE;

    /**
     * Very basic description supporting only English language, when internationalization is fully implemented this will
     * return the appropriate description as this method will have to be rewritten by then
     * 
     * @return the Description
     */
    public String getDescription()
    {
        String result = "";
        switch (this)
        {
        case MALE:
            result = "Masculine";
        case FEMALE:
            result = "Feminine";
        default:
            result = "Undefined";
        }
        return result;
    }
}